#!/bin/bash

error_exit(){
	exit 1
}

command=$1
IFS='##'
cmds=($command)

for cmd in ${cmds[@]}
do
    eval ${cmd} 2>&1 || error_exit "${cmd}"
done
exit 0